<include file="common:head" />

<!-- 成功支付信息 -->
<div class="md2">
	<div class="payfinshview">
		<ul>
			<li>商品名：洗車月卡</li>
			<li>月卡名：{$monthcardList.month_card_name}</li>
			<li>訂單號：{$monthOrderData.month_ordersn}</li>
			<li>實付金額：{$monthOrderData.month_price}元</li>
			<li>下單時間：{$monthOrderData.pay_time|date="Y-m-d H:i:s",###}</li>
		</ul>
	</div>
</div>

<!-- 查看訂單信息 -->
<div class="payorder_info">
	<div class="gopay_info">返回購買頁面</div>
</div>

<script type="text/javascript">
$('title').html('購買成功');
$('.header .title').html("購買成功");
$('.header .right').html('');

//跳轉已付款頁面
$('.user_order_info').click(function(){
	window.location.href = "{:U(MODULE_NAME.'/personal/order_list',array('type'=>'pay_success'))}";
});
//跳轉gopay下单頁面
$('.gopay_info').click(function(){
	window.location.href = "{:U(MODULE_NAME.'/index/gopay',array('id'=>$monthOrderData['address_id']))}";
});

</script>
